package com.joker.orange.domain.bo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * PushVideoBo
 *
 * @author Joker
 * @date 2024/6/12 17:53
 */
@Data
public class PushVideoBo implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;
    private String shareid;
    private String begin;
    private String end;
    private String orgfile;
    private String rpath;
    private String result;
    private String md5;
    private String outdir;
    private String qrprefix;
    private String category;
    private String user;
    private String tmpl;
    private String tmplname;
    private Metadata metadata;
    private String source;
    private String source_server;
    private int totalPlay;
    private Output output;
    private int alisync;
    private int progress;
    private int processTime;
    private String domain;
    private int sp_status;
    private int meta_time;
    private long meta_length;
    private String cloudUpdateAt;
    private String picdomain;
    private String mp4domain;
    private String path;
    private String title;
    private String _id;
    private String suffix;

    @Data
    public static class Metadata {
        private int bitrate;
        private long length;
        private int time;
        private int fps;
        private String resolution;
        private long length2;

    }

    @Data
    public static class Output {
        private List<Video> video;
        private String pic1;

        @Data
        public static class Video {
            private int bitrate;
            private String resolution;
            private long length;

        }
    }

}
